package com.hbnu.classandobject;

public class test {

    public static void main(String[] args) {
        Animal one = new Cat();
        System.out.println(one.name);
        one.eat();


        Cat two = new Cat();
        System.out.println(two.name);
        two.eat();
    }
}
